import request from '../utils/request';

export const loginPC = (data: any) => {
    return request({
        url: '/users/login',
        method: 'post',
        data
    });
};

export const registerPC = (data: any) => {
    return request({
        url: '/users/register',
        method: 'post',
        data
    });
};
export const sendEmailCode = (data: any) => {
    return request({
        url: '/email/send',
        method: 'post',
        data
    });
};

